package oop;

public class Unit25 {	
	public static void main(String[] args){
		Boss b1 = new Boss();
		System.out.println(b1.age);
		System.out.println(b1.name);
		System.out.println(b1.address);
		System.out.println(b1.getNumber());
	}
}

class Boss{
	// everywhere
	public int age;
	// same package, it subclassess
	protected String name;
	// same package
	String address;
	// same classes
	private int NumberOfWife;
	
	public int getNumber(){
		return NumberOfWife;
	}
}